#include <iostream>

//out includes
#include <boost/thread.hpp>

//booby includes
#include <network/client-handler.hh>
#include <network/server.hh>
#include <network/listener.hh>

int
main ()
{
  ClientHandler ch;
  Server s(&ch);
  ch.attach_server (&s);
  Listener l(&ch);

  boost::thread lthread (&Listener::start, &l);

  s.run ();

  std::cout << "lol" << std::endl;
}
